// To parse this JSON data, do
//
//     final juBoApprovalClassModel = juBoApprovalClassModelFromJson(jsonString);

import 'dart:convert';

JuBoApprovalClassModel juBoApprovalClassModelFromJson(String str) => JuBoApprovalClassModel.fromJson(json.decode(str));

String juBoApprovalClassModelToJson(JuBoApprovalClassModel data) => json.encode(data.toJson());

class JuBoApprovalClassModel {
  JuBoApprovalClassModel({
    this.type,
    this.id,
    this.name,
    this.icon,
    this.tier,
    this.parentId,
    this.sort,
    this.version,
    this.isDel,
    this.typeId,
  });

  String type;
  int id;
  String name;
  String icon;
  int tier;
  int parentId;
  int sort;
  int version;
  bool isDel;
  int typeId;

  factory JuBoApprovalClassModel.fromJson(Map<String, dynamic> json) => JuBoApprovalClassModel(
    type: json["__type"],
    id: json["Id"],
    name: json["Name"],
    icon: json["Icon"],
    tier: json["Tier"],
    parentId: json["ParentId"],
    sort: json["Sort"],
    version: json["Version"],
    isDel: json["IsDel"],
    typeId: json["TypeId"],
  );

  Map<String, dynamic> toJson() => {
    "__type": type,
    "Id": id,
    "Name": name,
    "Icon": icon,
    "Tier": tier,
    "ParentId": parentId,
    "Sort": sort,
    "Version": version,
    "IsDel": isDel,
    "TypeId": typeId,
  };
}
